package ooday01;
/** 汽车Car类的测试 */
public class CarTest {
    public static void main(String[] args) {
        Car a = new Car("Ford", "red", 150000.00);
        a.start();
        a.run();
        a.stop();

        System.out.println();

        Car b = new Car("Ford", "white", 300000.00);
        b.start();
        b.run();
        b.stop();

        System.out.println();

        Car c = new Car("Tesla", "Gray", 350000.00);
        c.start();
        c.run();
        c.stop();
    }
}
